﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="LogoutUniverse" Codebehind="Logout.aspx.cs" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1">
    <title>Universe</title>
    <style type="text/css">
        .page
        {
            width: 95%;
            background-color: #fff;
            margin: 20px auto 0px auto;
            border: 1px solid #496077;
            height: 95%;
        }
        body
        {
            background: #b6b7bc;
            font-size: .80em;
            font-family: "Helvetica Neue" , "Lucida Grande" , "Segoe UI" , Arial, Helvetica, Verdana, sans-serif;
            margin: 0px;
            padding: 0px;
            color: #696969;
        }
        .style1
        {
            height: 42px;
        }
    </style>

    <script language="javascript" type="text/javascript">
        //var appLicenca = getLicAppType();
        window.history.forward(1);
        document.title = "Universe Web";
        function nocontextmenu() {
            event.cancelBubble = true;
            event.returnValue = false;
            return false;
        }
        function norightclick(e) {
            if (window.Event)
            { if (e.which == 2 || e.which == 3) return false; }
            else if (event.button == 2 || event.button == 3)
            { event.cancelBubble = true; event.returnValue = false; return false; }
        }
        function CopyToClipboard() {
            if (window.clipboardData) {
                var Copied = document.getElementById("txtError");
                if (Copied != null)
                    window.clipboardData.setData("Text", Copied.value);
            } 
        }
        if (window.Event)
            document.captureEvents(Event.MOUSEUP);
        if (document.layers)
        { document.captureEvents(Event.MOUSEDOWN); }

        document.oncontextmenu = nocontextmenu;
        document.onmousedown = norightclick;
        document.onmouseup = norightclick;

        function hidestatus() {
            window.status = "";
            document.title = "Universe Web";
            return true;
        }

        if (document.layers)
            document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT | Event.MOUSEDOWN | Event.ONCLICK | Event.MOUSEMOVE | Event.MOUSEUP);

        document.onmouseover = hidestatus;
        document.onmouseout = hidestatus;
        document.onclick = hidestatus;
        document.onmousemove = hidestatus;
        document.onmouseup = hidestatus;
        document.onmousedown = hidestatus
            
    </script>

</head>
<body style="margin-left: 0px; margin-top: 0px; margin-bottom: 0px;">
    <form id="form1" runat="server">
    <div class="Page">
        <table width="100%" style="height: 733px" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td align="center">
                    <table width="454" cellpadding="0" cellspacing="0" border="1" class="title" style="background-color: White">
                        <tr>
                            <td>
                                <table width="100%" cellpadding="0" cellspacing="0" class="background_header">
                                    <tr>
                                        <td align="center" style="font-size: 14px; font-family: Verdana; border-bottom-style: solid;
                                            border-bottom-width: 1px" class="style1">
                                            <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/App_Themes/Style/images/MasterPage/SAGE_LOGO_1.PNG"
                                                Style="cursor: hand" ImageAlign="Left" />
                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                            <asp:ImageButton runat="server" ID="btnClipBoard" ToolTip="Copiar texto para area de transferência"
                                                ImageUrl="App_Themes/Style/images/clipboard.png" 
                                                OnClientClick="CopyToClipboard()" Visible="False" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="250" id="td1" runat="server" align="center" style="font-size: small;
                                            font-family: Verdana">
                                            <h1 style="font-size: 14px; font-family: Verdana; color: Black">
                                                Your connection was closed or expired!
                                            </h1>
                                            <br />
                                            <a class="background_header" style="font-size: 12px; color: Green; text-decoration: none"
                                                href='Login.aspx?client=-1,_top,,true'>Click here to enter again </a>
                                            <br />
                                            <br />
                                            <b onclick="window.close();" class="background_header" style="cursor: hand; font-size: 10px;
                                                color: Green; text-decoration: none">Exit</b><br />
                                            <br />
                                            <asp:HiddenField ID="txtError" runat="server" Value="" />
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
